package com.blog.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

/**
 * @AUTHOR:HZG MADE IN CHINA
 */
@Data
public class Article {
    @TableId(type= IdType.AUTO)  //声明主键自增长
    private Integer artId;
    private Integer userId;
    private String title;
    private String content;
    @TableField(value = "date")
    private String date;

}
